#pragma once

#include "PxMsgDefine.h"
#include <string>
using namespace std;
struct CPxMsgHeader
{
	string m_strVer;
	string m_strName;
	string m_strType;
};

class CPxMsg
{
public:
	CPxMsg();
	virtual ~CPxMsg();

	CPxMsgHeader* GetHeader() { return &m_Header; }
	int CreateMsgBody(int nLen = 0);
	void* GetBody() { return m_pBody; }

private:
	CPxMsgHeader m_Header;
	void* m_pBody;
};

